package adminmodel

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ GatewayAdminModel = (*customGatewayAdminModel)(nil)

type (
	// GatewayAdminModel is an interface to be customized, add more methods here,
	// and implement the added methods in customGatewayAdminModel.
	GatewayAdminModel interface {
		gatewayAdminModel
	}

	customGatewayAdminModel struct {
		*defaultGatewayAdminModel
	}
)

// NewGatewayAdminModel returns a model for the database table.
func NewGatewayAdminModel(conn sqlx.SqlConn) GatewayAdminModel {
	return &customGatewayAdminModel{
		defaultGatewayAdminModel: newGatewayAdminModel(conn),
	}
}
